body,
html {
    width: 100%;
    height: 100%;
    background: url("/assets/images/login_bg.jpg") no-repeat 0 0 / cover;
    /* bcg-size是c3新增,必须写定位和/ */
}

.layui-main {
    padding-top: 20px;
}

.login-reg {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 310px;
    background-color: #fff;

}

.title-box {
    height: 60px;
    /* 左和上都是center,所以定位可以只写一个center */
    background: url("/assets/images/login_title.png") no-repeat center;
}
.layui-form{
    padding: 0 30px;
}

.layui-form a {
font-size: 12px;
}
.layui-form-item{
    position: relative;
}
.layui-icon{
    position: absolute;
    left: 10px;
    top: 10px;
}
.layui-input{
    padding-left: 32px;
}